.app {
  height: 100vh;
  .ant-layout {
    height: 100%;
    align-items: center;
    background-color: #fff;
    box-sizing: content-box;
    .first {
      position: sticky;
      top: 0;
      z-index: 999;
    }
    .second {
      position: relative;
    }
  }
  .Layout {
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
  }
  .footer {
    width: 100%;
  }
}
.layout {
  width: 1280px;
  padding: 16px 16px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;

  .avatorBox {
    display: flex;
    align-items: center;
    .avator {
      height: 32px;
      height: 32px;
      border-radius: 9999px;
      margin-right: 12px;
    }
    .name {
      font-weight: 600;
      font-size: 24px;
      color: #4c4e4d;
    }
  }
  .tabs {
    ul {
      list-style-type: none; /* 移除列表标记 */
      margin: 0; /* 移除外边距 */
      padding: 0; /* 移除内边距 */
      display: flex;
      font-size: 17px;
      color: rgb(29 37 55);
      align-items: center;
      li {
        height: 27px;
        line-height: 27px;
      }
      li:hover {
        color: #0284c7;
      }
    }
    .activeTab {
      color: #0284c7;
      border-bottom: 2px solid #0284c7;
      border-bottom-width: 2px;
    }
  }
  .header-right {
    display: flex;
    align-items: center;

    .ant-switch {
      margin-right: 16px;
    }
    .noActiveSwitch {
      background-color: #f1f1f1;
      border: 1px solid #bcbcbc;
      .ant-switch-handle {
        top: 1px;
        inset-inline-start: 0px;
      }
      .ant-switch-inner .ant-switch-inner-unchecked {
        color: #5d5858;
        margin-top: -23px;
      }
    }
    .activeSwitch {
      background-color: #2f2f2f;
      border: 1px solid #bcbcbc;
      .ant-switch-checked:hover:not {
        background-color: #2f2f2f;
      }
      .ant-switch-handle {
        top: 1px;
      }
      .ant-switch-inner .ant-switch-inner-checked {
        color: #fff;
        margin-top: -1px;
      }
    }
    .searchArticle {
      height: 38px;
      display: flex;
      align-items: center;
      border-radius: 6px;
      padding: 6px 12px 6px 8px;
      border: 1px solid #e6e6e8;
      margin-right: 8px;
      cursor: pointer;
      .anticon {
        color: #7e8490;
        font-size: 18px;
        margin-right: 8px;
      }
      .searchText {
        margin-right: 12px;
        color: #94a3b8;
        height: 24px;
        line-height: 24px;
      }
      .shortcut {
        border: 1px solid #e6e6e8;
        padding: 1px 8px;
        border-radius: 6px;
        color: rgb(156 163 175);
        height: 24px;
        line-height: 20px;
      }
    }
    .login {
      margin: 0 4px;
      font-size: 18px;
    }
    .login:hover {
      color: #0284c7;
    }
  }
  .copyright {
    color: rgb(107 114 128);
    padding: 0 8px;
    a {
      color: rgb(107 114 128);
    }
    a:hover {
      text-decoration: underline;
    }
  }
}
.tip {
  background-color: #f9fafb;
  padding: 20px 20px 20px 20px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  margin-bottom: 20px;
  .anticon-notification {
    margin-right: 8px;
  }
  a {
    color: #0284c7;
  }
  a:hover {
    text-decoration: underline;
  }
  .ant-btn {
    padding: 0 6px;
    svg {
      color: rgb(107 114 128);
    }
  }
}
